package com.example.jiaju.dao;

import androidx.room.Dao;
import androidx.room.Insert;
import androidx.room.Query;

import com.example.jiaju.entity.Consult;

import java.util.List;

@Dao
public interface ConsultDao {
    @Insert
    void insertConsult(Consult consult);

    @Query("select * from consult")
    List<Consult> findAllConsult();
}
